<?php
/**
 * @version		$Id: default.php 21322 2011-05-11 01:10:29Z dextercowley $
 * @package		Joomla.Site
 * @subpackage	mod_login
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;
JHtml::_('behavior.keepalive');
$lang =& JFactory::getLanguage();

if($item->name != '')
	$item->name = unserialize($item->name);
if($item->des != '')
	$item->des = unserialize($item->des);
?>

<div class="col-xs-3 col-sm-3 wmctablet-col">
	<div class="metro_reward">
		<div class="image_overlay">
	    	<a href="<?php echo JRoute::_('index.php?option=com_promotions&view=redemptions&layout=details&id='.$item->id.'&Itemid=174'); ?>">
			<img class="lazy img-responsive" src="<?php echo JURI::base().'wrd/image1/'.$item->gallery->name; ?>"></a>
		</div>
		<div class="mosaic-overlay">
			<div class="stop ">
				<div class="stop_content" >
					<a href="<?php echo JRoute::_('index.php?option=com_promotions&view=redemptions&layout=details&id='.$item->id.'&Itemid=174'); ?>">
						<?php echo $item->name[$lang->getTag()]; ?>
					</a>
				</div>
			</div>
			
			<div class="sbottom">
				<div class="des"><?php echo strip_tags($item->des[$lang->getTag()]); ?></div>
				
				<div class="view_more"><a href="<?php echo JRoute::_('index.php?option=com_promotions&view=redemptions&layout=details&id='.$item->id.'&Itemid=174'); ?>"><?php echo JText::_('WRD_MODULE_METRO_VIEW_MORE')?></a></div>
				
			</div>
		</div>
	</div>
</div>